From 54b895341c8a036b6d4590659dfaffd01c1c8921 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 30 Mar 2023 14:12:54 -0400 Subject: [PATCH] listitem: Fix a notification problem We were notifying ::item when ::child is changed. Oops --- gtk/gtklistitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtklistitem.c b/gtk/gtklistitem.c index 6a357b3dd3..2c54ed976d 100644 --- a/gtk/gtklistitem.c +++ b/gtk/gtklistitem.c @@ -320,7 +320,7 @@ gtk_list_item_set_child (GtkListItem *self, if (self->owner) gtk_list_item_widget_set_child (self->owner, child); - g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_ITEM]); + g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_CHILD]); } /** -- 2.30.2